﻿<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="position.aspx.cs" 
Inherits="map.member.position" Title="位置" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script src="http://ditu.google.cn/maps?file=api&amp;v=2&amp;key=ABQIAAAAzr2EBOXUKnm_jVnk0OJI7xSosDVG8KKPE1-m51RBrvYughuyMxQ-i1QfUnH94QxWIa6N4U6MouMmBA&hl=zh-CN"
            type="text/javascript"></script>
    <script type="text/javascript">
    
    function initialize(zlong,zlat) {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map_canvas"));
        map.setCenter(new GLatLng(zlat, zlong), 14);
          var point = new GLatLng(zlat,
                                  zlong);
          map.addOverlay(new GMarker(point));

      }
    }

    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <div id="map_canvas" style="width: 770px; height: 550px;"></div>
</asp:Content>
